// return the new string based on the string passed in
String getNewString( theString ) {
String newString;
if(theString==null || theString.length()==0) {
return newString;
}
// should we tokenize on "."?
if(Character.isUpperCase(theString.charAt(0)) && theString.length()>=2 && Character.isUpperCase(theString.charAt(1))) { // first two chars are UC => first UC, rest LC